﻿﻿<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>中国通信服务</title>
<link href="teleweb/css/ztf.css" rel="stylesheet" type="text/css" />
<link href="teleweb/css/roll.css" rel="stylesheet" type="text/css" />
<link href="teleweb/css/content.css" rel="stylesheet" type="text/css" />
</head>
<body onload="document.getElementById('username').focus()">
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <!-- 主体table -->
  <!-- 主体table -->
  <%
  	request.setAttribute("panel","Index");
  	//String url = (String)request.getSession().getAttribute("requesturl");
  	//System.out.println("Referer = " + url);
  %>
  <%@ include file="/teleweb/common/include/header.jsp" %>
  
  <tr>
    <!---首页内容--->
    <td class="new_indexcontent">
    <!---圆角--->
    <div class="box-cir3">
			<div class="t_l"></div>
			<div class="t_m"></div>
			<div class="t_r"></div>
			<div class="m_l"></div>
			<div class="m_m1">
    <center><font color="red"><s:actionmessage/><s:actionerror/></font></center>
    <center><h5 style="color:red">${exception.message}</h5></center>
    <div class="new_form">
     <form action="admin-login.action" method="post" name="loginForm" id="loginForm">
	    <div class="new_rangeform">
	    <span>管理员账号：</span>
	     <input type="text" id="username" name="user.account" style="width:180px">
	    </div>
	    <div class="new_rangeform">
	    <span>管理员密码：</span>
	    <input type="password" name="user.password" style="width:180px">
	    </div>
	    <div class="new_btform">
	    <button class="new_btforml" onclick="document.loginForm.submit()">登录</button>
	    <button onclick="reset()">取消</button>
	    </div>
	  </form>
    </div>
			</div>
			<div class="m_r"></div>
			<div class="b_l"></div>
			<div class="b_m"></div>
			<div class="b_r"></div>
		</div>
    </td>
  </tr>
  <%@ include file="common/include/tail.jsp"%>
</table>
</body>
</html>
<script type="text/javascript"> 
    function document.onkeydown() 
    { 
      if(event.keyCode==13) 
      { 
	   document.getElementById("loginForm").submit(); 
	   return false; 
      }
    }
</script> 
